#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QDebug>
#include <QProcess>

#include "../../ui_MainWindow.h"
#include "../HMISuperviseur/HMISuperviseur.h"
#include "../Record/AudioRec.h"

class MainWindow : public QMainWindow, public Ui::MainWindow
{
	Q_OBJECT

public:
	MainWindow( QWidget* parent = 0 );
	virtual ~MainWindow();
public slots:
	void Widget_StartVisibility(bool newVal);
	void Widget_SettingVisibility(bool newVal);
	void Widget_RecordVisibility(bool newVal);
	void EnableBtn_finenregistrement(bool newVal);
	void TextLbl_EnregistrementEnCours(QString newText);
	void Enable_UsbWork(bool newVal);
	void EjectKey();
private:
	void SetLang();
	void ConnectLand();
	HMISuperviseur *Dieu;
	AudioRec *UniversSale;
	QProcess UmountMedia;
};

#endif // MAINWINDOW_H
